package com.dinner.mapper;

import com.dinner.entity.DiUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author dinner
 * @since 2022-02-05
 */
@Mapper
public interface DiUserMapper extends BaseMapper<DiUser> {
DiUser getRoleCodeByUserName(String username);
DiUser getByName(String username);
}
